package com.xhy.gateway.sdk.interfaces;

import com.xhy.gateway.sdk.annotation.ApiProducerClazz;
import com.xhy.gateway.sdk.annotation.ApiProducerMethod;
import org.springframework.stereotype.Service;

@ApiProducerClazz(interfaceName = "用户服务", interfaceVersion = "1.0.0")
@Service
public class UserService {

    @ApiProducerMethod(methodName = "探测", uri = "/wg/user/hi", httpCommandType = "POST", auth = 1)
    public String hi(String str) {
        return "hi " + str + " by api-gateway-sdk";
    }

}
